package com.bluezone.dec.system.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author HHL
 * @description 专项整治计划实体
 * @date 2018/10/8 - 14:16
 */
@Data
public class RectPlan {

    /* 专项整治计划表主键 */
    private String id;

    /* 专项整治名称 */
    private String rectName;

    /* 整治原由 */
    private String rectReason;

    /* 计划开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date planStart;

    /* 计划结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date planEnd;

    /* 表更新时间 */
    private Date updateTime;

    public RectPlan() {
    }

    public RectPlan(String id, String rectName, String rectReason, Date planStart, Date planEnd, Date updateTime) {
        this.id = id;
        this.rectName = rectName;
        this.rectReason = rectReason;
        this.planStart = planStart;
        this.planEnd = planEnd;
        this.updateTime = updateTime;
    }

}